/*方法一*/
module.exports = {
    userName: 'Jack',
    sayHello: function () {
        return 'Hello';
    }
};

/*方法二*/
exports.userName = 'Anna';